Leat\WebhookManager B

Total Complexity 94
Dependencies 7
Dependents 5
Total lines 637
Lines of code 437
Logical lines of code 241
Comment lines 69
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
ensure_webhooks_installed()
D
27
33 146
sync_webhooks()
A
43 13 48
cleanup_duplicate_webhooks()
A
44 12 45
handle_webhook()
S
55 7 22
get_webhooks()
S
52 5 25
handle_voucher_updated()
S
57 2 19
handle_voucher_created()
S
57 2 19
handle_voucher_deleted()
S
57 2 19
handle_voucher_redeemed()
S
57 2 19
handle_giftcard_transaction_created()
S
57 2 19
acquire_sync_lock()
S
65 3 9
handle_contact_updated()
S
59 2 15
init()
S
67 2 7
check_webhooks()
S
68 2 7
__construct()
S
76 1 4
install_webhooks()
S
82 1 3
cleanup()
S
74 1 5
release_sync_lock()
S
81 1 3
get_required_webhooks()
S
81 1 3